package com.xggstudio.crm.ui.mvp.m;

public class BaseData<T> {

    private int type;

    private T t;

    public BaseData(int type) {
        this.type = type;
    }

    public BaseData(int type, T t) {
        this.type = type;
        this.t = t;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    @Override
    public String toString() {
        return "BaseData{" +
                "type=" + type +
                ", t=" + t +
                '}';
    }
}
